package 策略模式;

public class Fun {
    private Action action;

    public Fun(Action action) {
        this.action = action;
    }

    public void funMo(){
        System.out.println("第1集.........");
        System.out.println("第2集.........");
        System.out.println("第3集.........");
        action.four();
        System.out.println("第5集.........");
        System.out.println("第6集.........");
        System.out.println("第7集.........");
        action.eight();

    }
}
